﻿@model IEnumerable<vnMcdonald.Models.Product>
        
 
<ul data-role="listview" data-inset="true">
    @foreach(var item in Model){
        <li><a href="@Url.Action("detail", "product", new { ProductId = item.ProductId })">
        <img src="@item.Images.OrderBy(im => im.Order).FirstOrDefault().Src">
        <h2>@item.Name</h2>
        <p>Giá @string.Format("{0:#,#}", item.Price) VNĐ</p></a>
    </li>
     }
    
    
</ul>